{layout name="p/base"}
  <div id="page-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h1>个人信息 <small>信息列表</small></h1>
        <ol class="breadcrumb">
          <li><a href="index.php"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li><a href="admin-list.php"><i class="fa fa-dashboard"></i> 管理员信息列表</a></li>
          <li class="active"><i class="fa fa-table"></i> 管理员信息</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          这里可以查看管理员信息 
        </div>
        <div class="form-group input-group" >
          <div class="btn-group">
            <button type="submit" class="btn btn-primary" id="luck">锁定</button>
          </div>
          <div class="btn-group">
            <button type="submit" class="btn btn-default" id="unluck">解除锁定</button>
          </div>
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-12">
        <div class="table-responsive">
          <table class="table table-hover table-striped tablesorter">
            <tbody>
            <form id='form' class="form-horizontal" role="form" action="" method="post">
            <input type="hidden" name="id" value="{$data.id}">
              <tr>
                <td>管理员姓名</td>
                <td>{$data.name}</td>
                <td></td>
              </tr>
              <tr>
                <td>管理员手机号</td>
                <td>{$data.phone}</td>
                <td></td>
              </tr>
              <tr>
                <td>管理员邮箱</td>
                <td>{$data.email}</td>
                <td></td>
              </tr>
              <tr>
                <td>身份证号码</td>
                <td>{$data.idnumber}</td>
                <td></td>
              </tr>
              <tr>
                <td>备注</td>
                <td>{$data.remark}</td>
                <td></td>
              </tr>
              </form>
            </tbody>
          </table>
          <div class="modal-footer">
            <input type="button" value="返回" class="btn btn-default"  onclick="javascript:history.back(-1);" />
          </div>
        </div> 
      </div>
    </div>
    <!-- /.row -->
    
  </div><!-- /#page-wrapper -->

<script type="text/javascript" src="/jquery.js"></script>
<script type="text/javascript">
  $(document).ready(function(){
    $("#luck").click(function(){
      $("#form").attr('action','/campmanagerlist/luck');
      $("#form").submit();
      });
    $("#unluck").click(function(){
      $("#form").attr('action','/campmanagerlist/unluck');
      $("#form").submit();
      });
    });
</script>
